﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Office.Interop.Word;

namespace WFL.Office.Word
{
    public class WordShapeRange
    {
        public WordShape this[int index]
        {
            get { return new WordShape(_shapeRange[index]); }
        }

        public WordShape this[string index]
        {
            get { return new WordShape(_shapeRange[index]); }
        }

        private ShapeRange _shapeRange;

        internal WordShapeRange(ShapeRange shapeRange)
        {
            _shapeRange = shapeRange;
        }
    }
}
